package javaProExample2;

public class Test {
	public static void main(String[] arge){
		Cat cat=new Cat();
		cat.name="11111";
		cat.call();
		
	
		
		
		Fish fish=new Fish();
		fish.swim();
		
		Person p=new Person();
		p.setAge(-12);
		p.speak();
		System.out.println(p.getAge());
	}

}
